<?php get_header(); ?>               
                
        <!--- CONTENT --->
        <div id="conteudo-pagina" class="shadow">
            <div id="container" class="grid-12">

                <!--- LIST-POSTS --->
                <div class="alpha grid-11">
                    <div class="titulo-projetos" style="margin-left: -10px;">
                        <img src="<?php bloginfo('template_url')?>/images/proj-extensao.png" alt="PROJETOS CCNM"/>
                    </div>
                    <div class="link-geral">
                        <a href="<?php bloginfo('url'); ?>?category_name=extensao">Ver Todos os Posts de Extensão &raquo</a>
                    </div>
                    <?php query_posts(array('category__and' => array(7,15))); ?>
                    <?php if(have_posts()): while(have_posts()): the_post(); ?>
                        <a class="cat-projeto-link" href="<?php the_Permalink(); ?>" title="<?php the_title(); ?>">
                            <div class="cat-projeto-post">
                                <div class="cat-projeto-thumb">
                                  <?php the_post_thumbnail(array(240,150), array('title' => get_the_title())); ?>
                                </div>
                                <div class="cat-projeto-content">
                                    <div class="cat-projeto-bar">
                                        <p class="cat-projeto-title font-Cipher"><?php the_title(); ?></p>
                                        <p>
                                            <div class="cat-projeto-publish">
                                                <span class="cat-projeto-author"><?php the_author_posts_link(); ?></span>
                                                em <?php the_date(); ?>                                            
                                            </div>
                                            <div class="cat-projeto-social">
                                                <span class="twitter">
                                                    <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a>
                                                    <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>                                            
                                                </span>

                                                <span class="plus">
                                                    <g:plusone size="medium"></g:plusone>
                                                </span>

                                                <span class="facebook">
                                                    <iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=button_count&amp;show_faces=false&amp;width=80&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:80px; height:20px"></iframe>
                                                </span> 
                                            </div>
                                        </p>
                                    </div>
                                    <div class="cat-projeto-text">
                                        <p class="cat-projeto-sobre">Sobre o Projeto: </p>
                                        <?php the_excerpt_rereloaded(40,'Continue Lendo &#187;'); ?>
                                    </div>
                                </div>

                            </div>                            
                        </a>
                    <?php endwhile; endif; ?>
                    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>                    
                </div>            
                <!--- LIST-POSTS --->

            </div><!--- CONTAINER --->      
            <div class="clearfix"></div>
        </div>
        <!--- CONTENT --->





    </div>
</div>
    <!--- FOOTER --->       

  <?php get_footer(); ?>